home *** CD-ROM | disk | FTP | other *** search
/ Asymetrix Multimedia Toolbook 4.0 (CBT Edition) / Asymetric Multimedia Toolbook 4.0 (CBT Edition).iso / ctb40ap.z / SAMPLE.SPB (.txt) < prev    next >
Asymetrix ToolBook File  |  1996-01-10  |  22KB  |  306 lines

  1. Scripts To Install
  2. Book Script
  3. Scripts To Install
  4. 94091517185612467374016
  5. Title
  6. 94091517185612467374016
  7. ASYM_TpID
  8. Book Script
  9. to handle enterApplication
  10.     if syslevel <> reader
  11.         send reader
  12.     if "ctb40r.sbk" is not in sysBooks
  13.         push "ctb40r.sbk" onto sysBooks
  14.     -- Put any other initialization statements here
  15.     forward -- The sysBooks need this!
  16. NIMATION SUPPORT
  17.     -- If your application uses path animation, you also need
  18.     -- to link in the runtime animation system book. While
  19.     -- authoring, the playback support is provided by ctb30.sbk
  20.     -- or mtb30.sbk and this runtime system book is not needed.
  21.     -- Remove the comment characters ("--") from the 4 lines below.
  22. --    if "ctb30t.sbk" is not in sysBooks and \
  23. --      "mtb30.sbk" is not in sysBooks
  24. --        push sysToolBookDirectory & "mtb30anm.sbk" onto sysBooks
  25. --    end
  26.     -- END OF ANIMATION SUPPORT CODE
  27.     -- Put any other initialization statements here
  28.     forward -- The sysBooks need this!
  29. The sysBooks need this!
  30. ASYM_BeenHere
  31. 94110621445011184234870
  32. 94110621445011184234870
  33. ASYM_TpID
  34. Build
  35. O:buildIt
  36. buttonClick
  37. buttonClick
  38. buildIt
  39. &Build
  40. This sample book Specialist is for illustration purposes only. If you are interested in finding out how specialists work, or you would like to create a custom book specialist, you can inspect its script first. This sample specialist creates a book with a single page containing a single field.  
  41. This Specialist is a ToolBook application. 
  42. Its file name is:
  43. bookName
  44. 7wASYM_Container
  45. enterPage
  46. notifyBefore 
  47. ASYM_Container(
  48. G:\MTB40\SAFE\SPCLST\SAMPLE.SPBSPBcation. 
  49. Its file name is:
  50. Cancel
  51. cancel
  52. buttonClick
  53. buttonClick
  54. &Cancel
  55. enterPage
  56. YM_BeenHere
  57. Sample Book Specialist
  58. Info_Title
  59. <BookPath>
  60. :HDMEDIAPATH
  61. MS Sans Serif
  62. info_LastSavedBy
  63. 11/6/94 9:51:06 PM
  64. info_LastSaved
  65. tagetWindow
  66. Ms Sans Serif
  67. Tada!
  68. Done. You may want to save this new book.
  69. Specialist can only run in a modal viewer
  70. buildIt
  71. cancel
  72. buildIt
  73.     -- This 
  74. a trap. You don't want 
  75. specialist
  76. %the main 
  77. tagetWindow 
  78. "Specialist can only 
  79. a modal 
  80.     tgtV = targetWindow 
  81.         -- 
  82. fa clean slate
  83.         -- construct 
  84. small sample 
  85. 8= 4000,3000
  86. 450,450 
  87. 3550,2550
  88. = "Ms Sans Serif"
  89. = CRLF & "Tada!"
  90. "Done. 
  91. saveAs
  92.     close 
  93. 10:07:53 PM
  94. <bookDir>
  95. _ASYM_HyperPath
  96. <bookDir>
  97. Sample Book Specialist
  98. Asymetrix Corporation
  99.  constructed.
  100. Info_Description
  101. 11/27/95 3:11:35 PM
  102. Courier New
  103. X:wO[
  104. MS Sans Serif
  105. X:wO=
  106. Claude Ostyn
  107. Sample Book Specialist to illustrate how a Book Specialist is constructed.
  108. 1/8/96 12:37:05 PM
  109.      run in a modal viewer
  110. buildIt
  111. cancel
  112. buildIt
  113.     -- This 
  114. a trap. You don't want 
  115. specialist
  116. %the main 
  117. tagetWindow 
  118. "Specialist can only 
  119. a modal 
  120.     tgtV = targetWindow
  121.         -- 
  122. fa clean slate
  123.         -- construct 
  124. small sample 
  125. 8= 4000,3000
  126. 450,450 
  127. 3550,2550
  128. = "Ms Sans Serif"
  129. = CRLF & "Tada!"
  130. "Done. 
  131. saveAs
  132.     close 
  133. -- This 
  134. 8will be opened 
  135. a modal 
  136. you choose 
  137.  Book Specialist dialog
  138. -- box.
  139. buildIt
  140. a trap. You don't want 
  141. specialist
  142. x main 
  143. tagetWindow 
  144. ycan only 
  145.     tgtV = targetWindow
  146.         -- 
  147. fa clean slate
  148. avoid running 
  149.         -- construct the small sample 
  150. 8= 4000,3000
  151. 450,450 
  152. 3550,2550
  153. = "Ms Sans Serif"
  154. = CRLF & "Tada!"
  155. "Done. 
  156. saveAs
  157.     close 
  158. cancel
  159. .'+    +F
  160. .'+    +F
  161. tagetWindow
  162. Ms Sans Serif
  163. book script
  164. Tada!
  165. Done. You may want to save this new book.
  166. Specialist can only run in a modal viewer
  167. buildIt
  168. cancel
  169. e opened 
  170. CDBSE&File
  171. &Open...    Ctrl+O
  172. &Save    Ctrl+S
  173. Save &As...
  174. saveas
  175. &Import...
  176. import
  177. &Export...
  178. export
  179. Print Set&up...
  180. printsetup
  181. &Print Pages...    Ctrl+P
  182. printpages
  183. Prin&t Report...
  184. printreport
  185. Send &Mail...
  186. sendmail
  187. &Run...
  188. E&xit    Alt+F4
  189. &Edit
  190. &Undo    Ctrl+Z
  191. Cu&t    Ctrl+X
  192. &Copy    Ctrl+C
  193. &Paste    Ctrl+V
  194. paste
  195. C&lear    Del
  196. clear
  197. Select &All    Shift+F9
  198. selectall
  199. Select Pa&ge    Shift+F12
  200. selectpage
  201. &Size to Page    F11
  202. sizetopage
  203. F&ind...    F5
  204. Re&place...
  205. replace
  206. Aut&hor    F3
  207. author
  208. &Text
  209. &Character...    F6
  210. character
  211. &Paragraph...    F7
  212. paragraph
  213. &Regular    Ctrl+Space
  214. regular
  215. &Bold    Ctrl+B
  216. &Italic    Ctrl+I
  217. italic
  218. &Underline    Ctrl+U
  219. underline
  220. Stri&keout    Ctrl+K
  221. strikeout
  222. Superscrip&t/Subscript
  223. superscriptSubscript
  224. &Normal Script
  225. normalscript
  226. Su&bscript    Ctrl+L
  227. subscript
  228. Su&perscript    Ctrl+Shift+L
  229. superscript
  230. &Show Hotwords    F9
  231. showhotwords
  232. &Page
  233. &Next    Alt+Right
  234. &Previous    Alt+Left
  235. previous
  236. &First    Alt+Up
  237. first
  238. &Last    Alt+Down
  239. &Back    Shift+F2
  240. &History...    Ctrl+F2
  241. history
  242. N&ew Page    Ctrl+N
  243. newpage
  244. &Help
  245. &Contents    F1
  246. contents
  247. Status &Bar    F12
  248. statusbar
  249. ASYM_Reset
  250. @    (    (    K
  251. *ClassTbl*
  252. *ClassEntry*
  253. *PTABLE*
  254. *WINDOWSEG*
  255. *ICONRESTAB*
  256. *ICONRESSEG*
  257. *ICONRES*
  258. Background
  259. *OBJTABLE*
  260. *IDTABLE*
  261. *NAMETAB*
  262. Rectangle
  263. Ellipse
  264. RoundedRectangle
  265. Polygon
  266. IrregularPolygon
  267. AngledLine
  268. Curve
  269. PaintObject
  270. Picture
  271. Hotword
  272. *RHOTWORD*
  273. Group
  274. Stage
  275. Button
  276. Viewer
  277. ComboBox
  278. Field
  279. RecordField
  280. *TbxBase*
  281.     (    ewer
  282. bxBase*
  283.     (    bxBase*
  284. @    (    (    K
  285. alization
  286. linkToCBTDll
  287. mtb30cbt.dll
  288. addAccelKey
  289. _asyma_AddAccelerators
  290. FALSE
  291. Initialization
  292. kremoveAccelKey
  293. linkToCBTDll
  294. removeAccelKey
  295. mtb30cbt.dll
  296. _asyma_RemoveAccelerators
  297. enableAccelerators
  298. _asyma_AddAccelerators
  299. mtb30cbt.dll
  300. enableAccelerators
  301. enableAccelerators
  302. _asyma_EnableMenuAccelerators
  303. enableAccelerators
  304. FALSE
  305. Book Script
  306.